randBMP: randBMP.o writeHeader.o
	gcc -m32 randBMP.o writeHeader.o -o randBMP

randBMP.o: randBMP.asm
	nasm -f elf randBMP.asm

writeHeader.o: writeHeader.asm
	nasm -f elf writeHeader.asm
